package org.neu.ccs.secureim;

import java.net.InetAddress;
import java.security.PublicKey;

public class UserInfo {
	InetAddress location;
	int port;
	PublicKey pubKey;
	String userName;
	
	public UserInfo(InetAddress location, int port, PublicKey pubKey, String userName)
	{
		this.location = location;
		this.port = port;
		this.pubKey = pubKey;
		this.userName = userName;
	}
	
	public InetAddress getLocation(){return location;}
	public int getPort(){return port;}
	public PublicKey getPubKey(){return pubKey;}
	public String getUser(){return userName;}
}
